# map consts, shared by apps compile.py and floaters.py
# when changed this file maps must be recompiled
EMPTY = 0
SOLID = 1
SLIP = 2
SPECIAL = 4 # something must be done when player touch this
STATIC_COLLIDABLE = 8 # will collide with player, pos will not change so
                      # collision detection needs to look only the cells
                      # touched by player

tile_to_flags = {
    'void': EMPTY,
    'land': SOLID,
    'land_goo': SOLID | SLIP,
    'exit': SPECIAL | STATIC_COLLIDABLE,
    'money': SPECIAL | STATIC_COLLIDABLE,
    'player': EMPTY, # player spawn
    'spike_up': SPECIAL | STATIC_COLLIDABLE,
    'terminal': SPECIAL | STATIC_COLLIDABLE,
    'patrol': STATIC_COLLIDABLE, # not a tile but a actor_type
    'floater': EMPTY # idem
    }

    
    
    
